import { useSelector } from 'umi';


const HeadTitle = () => {
  const { name } = useSelector((state: any) => state.global);

  return (
    <div style={{width: 256, }}>
      11111{name}
     
    </div>
  );
};

// 使用 connect 连接 DVA store
export default HeadTitle;